Category-based Semantics for Equational and Constraint Logic Programming
نویسنده
چکیده
This thesis proposes a general framework for equational logic programming, called catf:gory based equational logic by placing the general principles underlying the design of the pro gramming language Eqlog and formulated by Goguen and Meseguer into an abstract form. This framework generalises equational deduction to an arbitrary category satisfy ing certain natural conditions; completeness is proved under a hypothesis of quantifier projectivity, using a semantic treatment that regards quantifiers as modcls rather than variables, and regards valuations as model morprusms rather than functions. This is used as a basis for a model theoretic category-based approach to a paramodulation-based op erationa.l semantics for equational logic programming languages. Category-based equational logic in conjunction with the theory of institutions is used to give mathematical fonndations for modularisation in equational logic programming. We study the soundness and completeness problem for module imports in the coutext of a category-based semantics for solutions to equational logic programming queries. Constraint logic programming is integrated into the equational logic programming paradigm by showing tha.t constraint logics are a particular case of category-based equa tionallogic. This follows the methodology of free expansions of models for built-ins along signature inclusions as sketched by Goguen and Meseguer in their papers on Eqlog. The mathematical foundations of constraint logic programming are based on a Herbrand The orem for constraint logics; this is obtained as an instance of a more general category-based version of Herbrand's Theorem. The results in this tbesis apply to equational and constraint logic programming lan guages that a.re based on a variety of equational logical systems including many and order sorted equational logics, Horn clause logic, equational logic modulo a theory, con straint logics, and more, as well as any possible combination between them. More impor tantly, this thesis gives tbe possibility for developing the equational logic (programming) paradigm over non-conventional structnres and thus significantly extending it beyond its tradition.
منابع مشابه
Category-based constraint logic
This research exploits the view of constraint programming as computation in a logical system, namely constraint logic. The basic ingredients of constraint logic are: constraint models for the semantics (they form a comma-category over a fixed model of “built-ins”), generalized polynomials in the rôle of basic syntactic ingredient, and a constraint satisfaction relation between semantics and syn...
متن کاملA Category-Based Equational Logic Semantics to Constraint Programming
This paper exploits the point of view of constraint programming as computation in a logical system, namely constraint logic. We dene the basic ingredients of constraint logic, such as constraint models and generalised polynomials. We show that constraint logic is an institution , and we internalise the study of constraint logic to the framework of category-based equational logic. By showing tha...
متن کاملCategory-based Semantic Paramodulation
We introduce the concept of semantic paramodulation as a \semantic" de nition of paramodulation (in the sense that it applies to any model, not only to the term algebra) within the framework of category-based equational logic (introduced by [8, 9]). This not only generalises the traditional syntactic approaches to paramodulation, but also provides an abstract framework for a uni ed treatment of...
متن کاملCompleteness of Category-Based Equational Deduction
Equational deduction is generalised within a category-based abstract model theory framework, and proved complete under a hypothesis of quantiier projectivity, using a semantic treatment that regards quantiiers as models rather than variables, and regards valuations as model morphisms rather than functions. Applications include many and order sorted conditional] equational logics, Horn clause lo...
متن کاملThe Semantics of Equational Logic Programming as an instance of CLP
This work was supported by ESPRIT Basic Research Action P3020 \Integration", by CICYT under grant TIC 91-0425, and by \Progetto Finalizzato Sistemi Informatici e Calcolo Parallelo of C.N.R." under grant n.9100880.PF69 Departamento de Sistemas Inform aticos y Computaci on, Universidad Polit ecnica de Valencia, Camino de Vera s/n, Apdo. 22012, 46020 Valencia, Spain. Dipartimento di Informatica, U...
متن کامل